<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h1>
            {{msg}}
        </h1>
        <h1>{{count}}</h1>
        <h1 v-html="ht" v-on:click="tap"></h1>
        <input type="text" v-model="msg">
        <input type="text" v-model="count">

    </div>
</body>
<script src="./vue/dep.js"></script>
<script src="./vue/watcher.js"></script>
<script src="./vue/observer.js"></script>
<script src="./vue/compiler.js"></script>
<script src="./vue/index.js"></script>

<script>
    let vm= new Vue({
        el:"#app",
        data:{
            msg:"11233",
            count:111,
            ht:"<p>1232</p>"
        },
        methods:{
            tap(val,val1){
                console.log(this.msg)
             vm.set(this.msg,"name","Trump")
            }
        }
    })
</script>
</html>